package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereSubscribeUserOrder;
import org.linlinjava.litemall.db.domain.LumiereSubscribeUserOrderExample;

public interface LumiereSubscribeUserOrderMapper extends MPJBaseMapper<LumiereSubscribeUserOrder> {
    long countByExample(LumiereSubscribeUserOrderExample example);

    int deleteByExample(LumiereSubscribeUserOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereSubscribeUserOrder record);

    int insertSelective(LumiereSubscribeUserOrder record);

    LumiereSubscribeUserOrder selectOneByExample(LumiereSubscribeUserOrderExample example);

    LumiereSubscribeUserOrder selectOneByExampleSelective(@Param("example") LumiereSubscribeUserOrderExample example, @Param("selective") LumiereSubscribeUserOrder.Column ... selective);

    List<LumiereSubscribeUserOrder> selectByExampleSelective(@Param("example") LumiereSubscribeUserOrderExample example, @Param("selective") LumiereSubscribeUserOrder.Column ... selective);

    List<LumiereSubscribeUserOrder> selectByExample(LumiereSubscribeUserOrderExample example);

    LumiereSubscribeUserOrder selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereSubscribeUserOrder.Column ... selective);

    LumiereSubscribeUserOrder selectByPrimaryKey(Integer id);

    LumiereSubscribeUserOrder selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereSubscribeUserOrder record, @Param("example") LumiereSubscribeUserOrderExample example);

    int updateByExample(@Param("record") LumiereSubscribeUserOrder record, @Param("example") LumiereSubscribeUserOrderExample example);

    int updateByPrimaryKeySelective(LumiereSubscribeUserOrder record);

    int updateByPrimaryKey(LumiereSubscribeUserOrder record);

    int logicalDeleteByExample(@Param("example") LumiereSubscribeUserOrderExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}